import type { GoodsResult } from '@/types/detail'
import { http } from '@/utils/request'
export const getGoodsByIdAPI = (id: string) => {
    return http<GoodsResult>({
        url: '/goods',
        method: 'GET',
        data: { id }
    })
}